package su.samcom.calc.controller.form;

import su.samcom.calc.service.CalculatorServiceImpl;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: Владислав
 * Date: 03.12.13
 * Time: 23:56
 * To change this template use File | Settings | File Templates.
 */
public class CalculatorForm implements Serializable {


    private static final long serialVersionUID = 3608929099429291763L;
    private Long countryFromId;
    private String locationFrom;
    private Long countryToId;
    private String locationTo;
    private CalculatorServiceImpl.CargoType cargoType;
    private Double cbm;
    private Double weight;
    private Double length;

    public String getLocationTo() {
        return locationTo;
    }

    public void setLocationTo(String locationTo) {
        this.locationTo = locationTo;
    }

    public Long getCountryToId() {
        return countryToId;
    }

    public void setCountryToId(Long countryToId) {
        this.countryToId = countryToId;
    }

    public String getLocationFrom() {
        return locationFrom;
    }

    public void setLocationFrom(String locationFrom) {
        this.locationFrom = locationFrom;
    }

    public Long getCountryFromId() {
        return countryFromId;
    }

    public void setCountryFromId(Long countryFromId) {
        this.countryFromId = countryFromId;
    }

    public Double getCbm() {
        return cbm;
    }

    public void setCbm(Double cbm) {
        this.cbm = cbm;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Double getLength() {
        return length;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public CalculatorServiceImpl.CargoType getCargoType() {
        return cargoType;
    }

    public void setCargoType(CalculatorServiceImpl.CargoType cargoType) {
        this.cargoType = cargoType;
    }
}
